// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   License.java

package com.jivesoftware.forum;


// Referenced classes of package com.jivesoftware.forum:
//            License

public static final class LicenseType
{

    private final String name;
    public static final LicenseType NON_COMMERCIAL = new LicenseType("Non-Commercial");
    public static final LicenseType COMMERCIAL = new LicenseType("Commercial");

    public String toString()
    {
        return name;
    }

    public static LicenseType fromString(String s)
    {
        if(NON_COMMERCIAL.toString().equals(s))
            return NON_COMMERCIAL;
        if(COMMERCIAL.toString().equals(s))
            return COMMERCIAL;
        else
            return NON_COMMERCIAL;
    }


    private LicenseType(String s)
    {
        name = s;
    }
}
